package cn.tedu.baidashi.mapper;

import cn.tedu.baidashi.model.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author tedu.cn
 * @since 2022-02-19
 */
@Repository
public interface OrdersMapper extends BaseMapper<Orders> {
    Orders getOrderDetailByUserIdAndOrderNo(Integer userId,Long orderNo);

//    List<Orders> getOrders();
}
